package com.car.service;

import com.car.dao.StoreDao;
import com.car.dao.impl.StoreDaoImpl;
import com.car.domain.Car;

import java.util.List;

public class StoreService {
    private final static StoreDao storeDao = new StoreDaoImpl();

    public List<Car> display() throws Exception {
        return storeDao.display();
    }
}
